<?php $this->fetch('public/head') ?>
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class=""><a href="<?php echo url('index') ?>">招聘列表CN</a></li>
            <li class=""><a href="<?php echo url('index_en') ?>">招聘列表EN</a></li>
            <li class="layui-this">编辑信息</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container" action="<?php echo url('edit_en') ?>" method="post">

                    <div class="layui-form-item">
                        <label class="layui-form-label">职位名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="title" value="<?php echo $rows['title'] ?>" required  lay-verify="required" placeholder="请输入标题" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">岗位责任</label>
                        <div class="layui-input-block">
                            <textarea name="content1" class="layui-textarea" style="height: 200px;"><?php echo $rows['content1'] ?></textarea>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">任职要求</label>
                        <div class="layui-input-block">
                            <textarea name="content2" class="layui-textarea" style="height: 200px;"><?php echo $rows['content2'] ?></textarea>
                        </div>
                    </div>
                    <input type="hidden" name="id" value="<?php echo $rows['id'] ?>">
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn" lay-submit lay-filter="*">保存</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
<?php $this->fetch('public/script') ?>